import re

obj = re.match("li", "lifeiyu")
print(obj)
print(obj.group())
